function Game1SceneIntro()
{
	this.fundo = new Image();
	this.fundo.src="imgs/game1/menu.png";
	
	this.start = new Image();
	this.start.src="imgs/game1/start.png";
	
	this.instru = new Image();
	this.instru.src="imgs/game1/instructins.png";
	
	this.credits = new Image();
	this.credits.src="imgs/game1/credits.png";

	this.selecionado = 0;
	
	this.go = false;
	//jogo = new Game1SceneLevel1();

	this.start_selecionado = new Image();
	this.start_selecionado.src="imgs/game1/start2.png";
	
	this.instru_selecionado = new Image();
	this.instru_selecionado.src="imgs/game1/instructins2.png";
	
	this.credits_selecionado = new Image();
	this.credits_selecionado.src="imgs/game1/credits2.png";
	
	
	
	this.update=function()
   	{
   		
   	};
   
   	this.draw=function()
	{
		screen.drawImage(this.fundo, 0, 0);
		screen.drawImage(this.start, 155, 650);
		screen.drawImage(this.instru, 505, 650);
		screen.drawImage(this.credits, 330, 650);
		if(this.selecionado == 0)
		{
		screen.drawImage(this.start_selecionado, 135, 630);
		}
		if(this.selecionado == 1)
		{
		screen.drawImage(this.credits_selecionado, 305, 630);
		
		}
		if(this.selecionado == 2)
		{
		screen.drawImage(this.instru_selecionado,485, 630);
		}


		
		screen.font = "20px Comic Sans MS";
		screen.fillStyle="#FFFFFF";
		screen.fillText("INTRO", 20, 20);
		console.log("Funfando o draw " + this.selecionado);
	};
   
   	this.mouse_down=function(mouse)
   	{
   		console.log("INTRO mouse X " + mouse.x + " mouse Y " + mouse.y );
   	
   		// Cena_atual = CENAS.CREDITOS;
   	};
   
   	this.key_down=function(key)
   	   	{
   	   		if(key.keyCode == 39)
    		{
    			if(this.selecionado < 2)
    			{
    				this.selecionado += 1;
    			}
    			
    		}
    			if(key.keyCode == 37)
    			{
    				if(this.selecionado > 0)
    				{	
    					this.selecionado -= 1;
    				}
    			}    			
    		
    		if(key.keyCode == 13)
    		{
    				if(this.selecionado == 0)
    				{
    					game1.currentGameScene = game1.GAMESCENE.LEVEL1;
    					//jogo.pontos_2 = 0;
    				}
    				
    				if(this.selecionado == 1)
    				{
    					 game1.currentGameScene = game1.GAMESCENE.GAMEOVER;	
    				}
    				
    				if(this.selecionado == 2)
    				{
    						
    				}
    		}


   		console.log("INTRO keyCode " + key.keyCode );
   	
   	//	Cena_atual = CENAS.LEVEL1;
   	};
   	
   	this.mouse_up=function(mouse)
  	{
  		console.log("INTRO mouse X " + mouse.x + " mouse Y " + mouse.y );
  	};
  
  	this.key_up=function(key)
  	{
  		
  		console.log("INTRO keyCode " + key.keyCode );
  	};
   
}